<?php require_once('../Connections/agriculture.php'); ?>
<?php
$colname_rtianjianRecordset1 = "-1";
if (isset($_GET['id'])) {
  $colname_rtianjianRecordset1 = (get_magic_quotes_gpc()) ? $_GET['id'] : addslashes($_GET['id']);
}
mysql_select_db($database_agriculture, $agriculture);
$query_rtianjianRecordset1 = sprintf("SELECT * FROM fmanage WHERE fmanage_id = %s", $colname_rtianjianRecordset1);
$rtianjianRecordset1 = mysql_query($query_rtianjianRecordset1, $agriculture) or die(mysql_error());
$row_rtianjianRecordset1 = mysql_fetch_assoc($rtianjianRecordset1);
$totalRows_rtianjianRecordset1 = mysql_num_rows($rtianjianRecordset1);
?><div ><a href="stianjian.php">查看信息</a></div>
        <div ><a href="wtianjian.php">录入信息</a></div>
      <div ><a href="drtianjian.php">修改/删除信息</a></div>
      <div ><a href="out.php">退出登陆</a></div>
	  <p><br>
</p>
      <form id="form1" name="form1" method="post" action="">
        <label>ID
        <input name="textfield" type="text"  disabled="disabled" id="textfield" value="<?php echo $row_rtianjianRecordset1['fmanage_id']; ?>"/>
        </label>
        <label><br />
        <br />
        名称
        <input name="textfield2" type="text" id="textfield2" value="<?php echo $row_rtianjianRecordset1['fmanage_crop']; ?>" />
        </label>
            <p>
              <label>症状
              <textarea name="textarea"><?php echo $row_rtianjianRecordset1['fmanage_symptom']; ?></textarea>
              </label>
        </p>
            <p>
              <label>时间
              <textarea name="textarea2"><?php echo $row_rtianjianRecordset1['fmanage_time']; ?></textarea>
              </label>
            </p>
            <p>
              <label>处理方法
              <textarea name="textarea3"><?php echo $row_rtianjianRecordset1['fmanage_method']; ?></textarea>
              </label>
            </p>
            <p>
              <label>
              <input type="submit" name="Submit" value="提交" />
              </label>
              <label>
              <input type="reset" name="Submit2" value="重置" />
              </label>
            </p>
      </form>
      <p>&nbsp; </p>
      <?php
mysql_free_result($rtianjianRecordset1);
?>
